<template>
  <div>
    <el-tabs type="border-card">
      <el-tab-pane label="我的机动车">
        <travelcard ref="travelcard"></travelcard>
      </el-tab-pane>
      <el-tab-pane label="我的驾驶证">
        <drivecard ref="drivecard"></drivecard>
        </el-tab-pane>
      <el-tab-pane label="已处理违章违法记录">
        <tickets ref="tickets"></tickets>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import travelcard from "./travelcardl.vue";
import drivecard from "./drivecard.vue";
import tickets from "./solvedTickets.vue";
import myUtil from "../../util/myUtil"
  //引入axios模块
  import axios from 'axios'
  export default{
    components: { travelcard, drivecard,tickets},
    name:"indexTrafficsys",
    data(){
      return{
        loginUserCardId:"",
        driver:{
          cardId:"",
          name:"",
          phone:"",
          password:"",
          driveCardList:{
            id:"",
            driveCardId:"",
            nationality:"",
            cardId:"",
            createDate:"",
            clazz:"",
            validPeriod:"",
            department:"",
            score:"",
            state:""
          },
          travelCardList:{
            id:"",
            travelCarId:"",
            carNo:"",
            carClazz:"",
            cardId:"",
            userNature:"",
            brandModel:"",
            vin:"",
            engineNo:"",
            invalidDate:"",
            fileNo:"",
            state:"",
          }
        },
        police:{
          cardId:"",
          name:"",
          phone:"",
          password:""
        },

      }
    },
    methods:{

    },
    mounted(){

    }
   }
</script>

<style>
</style>
